import request from '@/utils/request'

// 查询花卉信息评论列表
export function listRemark(query) {
  return request({
    url: '/system/remark/list',
    method: 'get',
    params: query
  })
}

// 查询花卉信息评论详细
export function getRemark(id) {
  return request({
    url: '/system/remark/' + id,
    method: 'get'
  })
}

// 新增花卉信息评论
export function addRemark(data) {
  return request({
    url: '/system/remark',
    method: 'post',
    data: data
  })
}

// 修改花卉信息评论
export function updateRemark(data) {
  return request({
    url: '/system/remark',
    method: 'put',
    data: data
  })
}

// 删除花卉信息评论
export function delRemark(id) {
  return request({
    url: '/system/remark/' + id,
    method: 'delete'
  })
}
